package com.coldchain.common.redis.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CachePut;

@ConfigurationProperties(prefix = "redisson")
public class RedissonProperties {

    private ConfigFile configFile = new ConfigFile();
    
    public class ConfigFile {

    	/** json格式配置文件*/
    	private String json;
    	
    	/** yaml格式配置文件*/
    	private String yaml;

    	public String getJson() {
    		return json;
    	}

    	public void setJson(String json) {
    		this.json = json;
    	}

    	public String getYaml() {
    		return yaml;
    	}

    	public void setYaml(String yaml) {
    		this.yaml = yaml;
    	}
    }

    public ConfigFile getConfigFile() {
        return configFile;
    }

    public void setConfigFile(ConfigFile configFile) {
        this.configFile = configFile;
    }

}